//
// Created by pangy on 25-5-6.
//
#include "Status.h"
#include <stdio.h>

int main() {
    Triplet T;
    ElemType e;
    ElemType value;
    Status status;
    TestDemo("Test InitTriplet");
    status = InitTriplet(T, 1, 2, 3);
    if (status == OK) {
        printf("InitTriplet OK\n");
    } else {
        printf("InitTriplet ERROR\n");
    }
    status = Put(T, 1, 4);
    if (status == OK) {
        printf("Put OK\n");
    }
    status = Get(T, 1, &value);
    if (status == OK) {
        printf("Get OK, value=%i\n", value);
    }
}